package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.system.api.factory.RemoteMapperUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 供电所系统用户服务
 */
@FeignClient(contextId = "RemoteMapperUserService", value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteMapperUserFallbackFactory.class)
public interface RemoteMapperUserService {
    /**
     * 获取供电所系统用户详细信息
     *
     * @param
     * @return
     */
    @GetMapping(value = "/mapperUser/getMapperUser")
    public AjaxResult getMapperUserByUserNameAndIntegsysCode(@RequestParam(value = "userName") String userName, @RequestParam(value = "integsysCode") String integsysCode);

}

